package com.smedi.ismedi.inmail.api.dto.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.io.Serializable;

/**
 * 总院发布的通知公告请求
 *
 * @author jiangqinxuan
 * &#064;date  2021/07/27
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class OperationLogCreateRequest implements Serializable {
    /**
     * 模块
     */
    @NotBlank(message = "模块不能为空！")
    @ApiModelProperty(value = "模块")
    @Size(max = 150,message = "模块不能超过150字！")
    private String module;
    /**
     * 登录日志id
     */
    @NotNull(message = "登录日志id不能为空！")
    @ApiModelProperty(value = "登录日志id")
    private Long loginLogId;
}